<?php

/**
 * @author vladone
 * @copyright 2008
 */

include ('include/conf.php');
no_cache();
//begin verificare data
$id_connect = connect_to_database(HOST, USER, PASS, DATABASE);
$str = "SELECT * FROM plati WHERE data_estimata <> '' ORDER BY nume ASC";
$result = mysql_query($str, $id_connect);
$value = mysql_fetch_assoc($result);
echo "<table>";
while ($value = mysql_fetch_assoc($result)) {
	echo "<tr>";
	echo "<td>".$value['nume']."</td>"."<td>".$value['data_estimata']."</td>"."<td>".$value['comentariu']."</td>"."<td>".$value['suma']."</td>";
	echo "</tr>";
}
echo "</table>";
?>